package cn.wyl.feignclient;

import cn.wyl.domain.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignFallBack implements IUserFeignClient{
    @Override
    public User get(Long id) {
        return new User(id,"网络繁忙");
    }
}
